<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <script src="js/vue.js"></script>
</head>
<body>
<div id="app">
  多复选框：
  <input type="checkbox" id="jack" value="Jack" v-model="
checkedNames">
  <label for="jack">Jack</label>
  <input type="checkbox" id="john" value="John" v-model="
checkedNames">
  <label for="john">John</label>
  <input type="checkbox" id="mike" value="Mike" v-model="
checkedNames">
  <label for="mike">Mike</label>
  <span>选中的值: {{ checkedNames }}</span>
</div>
</script>
<script>
  new Vue({
    el: '#app',
    data: {
      checkedNames: []
    }
  })
</script>

</body>
</html>